class CreateRunners < ActiveRecord::Migration
  def self.up
    create_table :runners do |t|
      t.integer  :group_id
      t.string   :first_name
      t.string   :last_name
      t.string   :gender
      t.date     :birthdate
      t.integer  :level
      t.string   :shirt_size
      t.integer  :shoe_size
      t.decimal  :goal, :precision => 15, :scale => 2

      t.timestamps
    end
  end

  def self.down
    drop_table :runners
  end
end
